<?php defined('SYSPATH') or die('No direct script access.');

require Kohana::find_file('lib', 'swift_required');

Model_Reg::set('transport', Swift_SmtpTransport::newInstance('smtp.spaceweb.ru', 2525)->setUsername('mosiyash.ru+no-reply')->setPassword('noreply743201'));
Model_Reg::set('mailer',  Swift_Mailer::newInstance(Model_Reg::get('transport')));